/**
 * @Author: yqe@360shop.cn
 * @Date: 2019-10-09 17:01:31
 * @Last Modified by: yqe@360shop.cn
 * @Last Modified time: 2019-10-09 17:01:31
 */
import request from '@/utils/request'

/**
 * 视频 —— 获取视频列表
 * @param {*} params
 */
export function getVideoList(params) {
  return request({
    url: '/CommunityApi/getVideoList',
    method: 'get',
    params
  })
}

/**
 * 视频 —— 获取视频详情
 * @param {*} params
 */
export function getVideoDetail(params) {
  return request({
    url: '/CommunityApi/getVideoDetail',
    method: 'get',
    params
  })
}

/**
 * 视频 —— 点赞转发播放自动递增
 * @param {*} params
 */
export function shareCountAdd(params) {
  return request({
    url: '/CommunityApi/communityStatisticsInc',
    method: 'get',
    params
  })
}
/**
 * 视频和文章 —— 点赞
 * @param {*} params
 */
export function communityPraise(params) {
  return request({
    url: '/CommunityApi/community_praise',
    method: 'get',
    params
  })
}
